package mk.timska_rabota_android.messages;

import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.support.v4.content.WakefulBroadcastReceiver;

public class MessageReceiver extends WakefulBroadcastReceiver {

	@Override
	public void onReceive(Context con, Intent intent) {
		ComponentName comp = new ComponentName(con.getPackageName(),MessageService.class.getName());
		intent.setComponent(comp);
		startWakefulService(con, intent);
		setResultCode(Activity.RESULT_OK);
	}

}
